{volist name="lists" id="list"}
<div class="order_list">
    <h2>
        <a href="javascript:void(0);">
            <img src="/mobiled/images/dianpu.png"><span>订单号:{$list.order_sn}</span>
            <strong>{if condition="$list['order_status'] eq 5"}<b>已作废</b>{/if}
                <img src="/mobiled/images/icojiantou1.png"></strong>
        </a>
    </h2>
    <a href="{:url('/Mobile/User/order_detail',array('id'=>$list['order_id']))}">
        {volist name="list.goods_list" id="good"}
        <dl style="position: relative">
            <dt><img src="{$good.original_img}"></dt>
            <dd class="name"><strong>{$good.goods_name}</strong>
                <span style="position: absolute;">{$good.spec_key_name} </span></dd>
            <dd class="pice">￥{$good['member_goods_price']}元<em>x{$good['goods_num']}</em></dd>
            <dd class="pice">
                <em>
                    {if condition="($list['return_btn'] eq 1) and ($good['is_send'] eq 1)"}
                    <a href="{:url('Mobile/User/return_goods',array('order_id'=>$list[order_id],'order_sn'=>$list[order_sn],'goods_id'=>$good[goods_id],'spec_key'=>$good['spec_key']))}" style="color:#999;">申请售后</a>
                    {/if}
                </em>
            </dd>

        </dl>
        {/volist}
    </a>
    <div class="pic">共件商品<span>实付：</span><strong>￥{$list['order_amount']}元</strong></div>
    <div class="anniu" style="width:95%">
        {if condition="$list.cancel_btn eq 1"}<span onClick="cancel_order({$list.order_id})">取消订单</span>{/if}
        {if condition="$list.pay_btn eq 1"}<a href="{:url('Mobile/Cart/cart4',array('order_id'=>$list['order_id']))}">立即付款</a>{/if}
        {if condition="$list.receive_btn eq 1"}<a href="{:url('Mobile/User/order_confirm',array('id'=>$list['order_id']))}">收货确认</a>{/if}
        {if condition="$list.comment_btn eq 1"}<a href="{:url('/Mobile/User/comment')}">评价</a>{/if}
        {if condition="$list.shipping_btn eq 1"}<a href="{:url('User/express',array('order_id'=>$list['order_id']))}">查看物流</a>{/if}
    </div>
</div>
{/volist}